From: Florian Müllner Date: Tue, 3 Jun 2025 14:17:17 +0000 (+0200) Subject: runDialog: Set label-actor for entry X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~124^2^2~39 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=19952e5a2f487708dabb807f167ebd118f4f5abd;p=gnome-shell.git runDialog: Set label-actor for entry The dialog title is currently "invisible" to the screen reader, so alt+F2 effectively brings up a plain entry with no context. To address this, set the entry's label-actor to the dialog title, so we export a proper labelled-by relationship to the screen reader. Part-of: --- diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js index 1ce9fe2e2..9b9c4ddc6 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -62,9 +62,11 @@ class RunDialog extends ModalDialog.ModalDialog { let content = new Dialog.MessageDialogContent({title}); this.contentLayout.add_child(content); + const [labelActor] = content; let entry = new St.Entry({ style_class: 'run-dialog-entry', + labelActor, can_focus: true, }); ShellEntry.addContextMenu(entry);